<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
<style>
  .el-header img{
    vertical-align: middle;/* 中间对齐*/
  }
  .el-header a{
    color: #666;
    text-decoration: none;/*去掉下划线*/
  }
  .el-table td.el-table__cell{
    /*去掉自带的内边距*/
    padding: 0;
  }
</style>
</head>
<body>
<div id="app">
  <el-container>
    <el-header height="150px">
      <div style="width: 1200px;margin: 0 auto">
        <img src="imgs/logo.png" width="300" alt="">
<!--        <el-divider direction="vertical"></el-divider> 表示分割线-->
        <a href="">首页</a><el-divider direction="vertical"></el-divider>
        <a href="">热点资讯</a><el-divider direction="vertical"></el-divider>
        <a href="">商家入驻</a><el-divider direction="vertical"></el-divider>
        <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
        <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
        <a href="">帮助</a>
      </div>
      <div style="background-color: #0aa1ed">
        <el-menu style="width: 1200px;margin: 0 auto" mode="horizontal"
                 background-color="#0aa1ed" text-color="#fff"
                 active-text-color="#0f0" @select="handleSelect">
          <el-menu-item index="1">精彩活动</el-menu-item>
          <el-menu-item index="2">精品女装</el-menu-item>
          <el-menu-item index="3">品牌男装</el-menu-item>
          <el-menu-item index="4">母婴产品</el-menu-item>
          <el-menu-item index="5">数码科技</el-menu-item>
<!--          position: relative;top: 10px 还是使用相对定位挪动搜索框-->
          <div style="float: right;position: relative;top: 10px">
            <el-input type="text" placeholder="请输入搜索的内容">
            <!--  slot=append 设置搜索按钮嵌入到文本框里面            -->
              <el-button slot="append" icon="el-icon-search"></el-button>
            </el-input>
          </div>
        </el-menu>
      </div>
    </el-header>
    <el-main style="width: 1200px;margin: 0 auto">
            <el-row gutter="20">
                <el-col span="12">
                    <el-card>
                        <img src="imgs/a.jpg" width="100%">
                    </el-card>
                </el-col>
                <el-col span="12">
                    <p style="font-size: 25px">哇的女娃觉得你的文件俺的今晚今晚你到你家娃井底蛙</p>
                    <el-divider></el-divider>
                    <p style="font-size: 15px;color: #666">
                    销量:521 浏览量:88
                    </p>
                    <p style="font-size: 25px;font-weight: bold">
                        ￥128<span style="font-size: 15px;color: #666">
                        原价:<s>998</s>
                    </span>
                    </p>
                    <el-row gutter="20" style="text-align: center">
                        <el-col span="8">
                            <el-card>
                            <img src="imgs/ewm.jpg" width="100%" alt="">
                            </el-card>
                            <p>扫码关注公众号</p>
                        </el-col>
                        <el-col span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" width="100%" alt="">
                            </el-card>
                            <p>扫码购买商品</p>
                        </el-col>
                        <el-col span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" width="100%" alt="">
                            </el-card>
                            <p>扫码下载App</p>
                        </el-col>
                    </el-row>
                </el-col>
            </el-row>
    </el-main>
    <el-footer>
      <div style="background-image: url('imgs/wave.png');height: 95px"></div>
      <div style="text-align: center; background-color: #3f3f3f;
      color: #b1b1b1;padding: 30px 0">

        <p>Copyright © 北京达内金桥科技有限公司版权所有 京ICP备12003709号-3 京公网安备 11010802029572号</p>
        <p>涵盖20余门课程体系，致力于打造权威的IT职业教育学习平台</p>
        <p>达内在线WWW.TMOOC.CN 专注于IT职业技能培训</p>
      </div>
    </el-footer>
  </el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
  new Vue({
    el: '#app',
    data: function() {
      return {


        }
    },
    methods:{
      handleSelect(key,keypath){
        console.log(key);
      }
    }
  })
</script>
</html>